package com.ocom.webapi.vo.studentpage;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class BoardersAddVo implements Serializable {
    private static final long serialVersionUID = -1078164438385246472L;


    @NotNull(message = "comId 不能为空")
    private Long comId;

    @NotNull(message = "type 不能为空")
    private String name;

    private String phone;

    @NotNull(message = "type 不能为空")
    private String identity;

    @NotNull(message = "type 不能为空")
    private String type;

    @NotNull(message = "pId 不能为空")
    @JsonProperty("pId")
    private Long pId;

}
